3.6.33 \(\int \frac {(1+x) (1+2 x+x^2)^5}{x^7} \, dx\)

Optimal. Leaf size=72 \[ -\frac {1}{6 x^6}+\frac {x^5}{5}-\frac {11}{5 x^5}+\frac {11 x^4}{4}-\frac {55}{4 x^4}+\frac {55 x^3}{3}-\frac {55}{x^3}+\frac {165 x^2}{2}-\frac {165}{x^2}+330 x-\frac {462}{x}+462 \log (x) \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {27, 43} \begin {gather*} \frac {x^5}{5}+\frac {11 x^4}{4}+\frac {55 x^3}{3}+\frac {165 x^2}{2}-\frac {165}{x^2}-\frac {55}{x^3}-\frac {55}{4 x^4}-\frac {11}{5 x^5}-\frac {1}{6 x^6}+330 x-\frac {462}{x}+462 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 + x)*(1 + 2*x + x^2)^5)/x^7,x]

[Out]

-1/(6*x^6) - 11/(5*x^5) - 55/(4*x^4) - 55/x^3 - 165/x^2 - 462/x + 330*x + (165*x^2)/2 + (55*x^3)/3 + (11*x^4)/
4 + x^5/5 + 462*Log[x]

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int \frac {(1+x) \left (1+2 x+x^2\right )^5}{x^7} \, dx &=\int \frac {(1+x)^{11}}{x^7} \, dx\\ &=\int \left (330+\frac {1}{x^7}+\frac {11}{x^6}+\frac {55}{x^5}+\frac {165}{x^4}+\frac {330}{x^3}+\frac {462}{x^2}+\frac {462}{x}+165 x+55 x^2+11 x^3+x^4\right ) \, dx\\ &=-\frac {1}{6 x^6}-\frac {11}{5 x^5}-\frac {55}{4 x^4}-\frac {55}{x^3}-\frac {165}{x^2}-\frac {462}{x}+330 x+\frac {165 x^2}{2}+\frac {55 x^3}{3}+\frac {11 x^4}{4}+\frac {x^5}{5}+462 \log (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 72, normalized size = 1.00 \begin {gather*} -\frac {1}{6 x^6}+\frac {x^5}{5}-\frac {11}{5 x^5}+\frac {11 x^4}{4}-\frac {55}{4 x^4}+\frac {55 x^3}{3}-\frac {55}{x^3}+\frac {165 x^2}{2}-\frac {165}{x^2}+330 x-\frac {462}{x}+462 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 + x)*(1 + 2*x + x^2)^5)/x^7,x]

[Out]

-1/6*1/x^6 - 11/(5*x^5) - 55/(4*x^4) - 55/x^3 - 165/x^2 - 462/x + 330*x + (165*x^2)/2 + (55*x^3)/3 + (11*x^4)/
4 + x^5/5 + 462*Log[x]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(1+x) \left (1+2 x+x^2\right )^5}{x^7} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((1 + x)*(1 + 2*x + x^2)^5)/x^7,x]

[Out]

IntegrateAlgebraic[((1 + x)*(1 + 2*x + x^2)^5)/x^7, x]

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 62, normalized size = 0.86 \begin {gather*} \frac {12 \, x^{11} + 165 \, x^{10} + 1100 \, x^{9} + 4950 \, x^{8} + 19800 \, x^{7} + 27720 \, x^{6} \log \relax (x) - 27720 \, x^{5} - 9900 \, x^{4} - 3300 \, x^{3} - 825 \, x^{2} - 132 \, x - 10}{60 \, x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^7,x, algorithm="fricas")

[Out]

1/60*(12*x^11 + 165*x^10 + 1100*x^9 + 4950*x^8 + 19800*x^7 + 27720*x^6*log(x) - 27720*x^5 - 9900*x^4 - 3300*x^
3 - 825*x^2 - 132*x - 10)/x^6

________________________________________________________________________________________

giac [A]  time = 0.15, size = 59, normalized size = 0.82 \begin {gather*} \frac {1}{5} \, x^{5} + \frac {11}{4} \, x^{4} + \frac {55}{3} \, x^{3} + \frac {165}{2} \, x^{2} + 330 \, x - \frac {27720 \, x^{5} + 9900 \, x^{4} + 3300 \, x^{3} + 825 \, x^{2} + 132 \, x + 10}{60 \, x^{6}} + 462 \, \log \left ({\left | x \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^7,x, algorithm="giac")

[Out]

1/5*x^5 + 11/4*x^4 + 55/3*x^3 + 165/2*x^2 + 330*x - 1/60*(27720*x^5 + 9900*x^4 + 3300*x^3 + 825*x^2 + 132*x +
10)/x^6 + 462*log(abs(x))

________________________________________________________________________________________

maple [A]  time = 0.06, size = 59, normalized size = 0.82 \begin {gather*} \frac {x^{5}}{5}+\frac {11 x^{4}}{4}+\frac {55 x^{3}}{3}+\frac {165 x^{2}}{2}+330 x +462 \ln \relax (x )-\frac {462}{x}-\frac {165}{x^{2}}-\frac {55}{x^{3}}-\frac {55}{4 x^{4}}-\frac {11}{5 x^{5}}-\frac {1}{6 x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x+1)*(x^2+2*x+1)^5/x^7,x)

[Out]

-1/6/x^6-11/5/x^5-55/4/x^4-55/x^3-165/x^2-462/x+330*x+165/2*x^2+55/3*x^3+11/4*x^4+1/5*x^5+462*ln(x)

________________________________________________________________________________________

maxima [A]  time = 0.66, size = 58, normalized size = 0.81 \begin {gather*} \frac {1}{5} \, x^{5} + \frac {11}{4} \, x^{4} + \frac {55}{3} \, x^{3} + \frac {165}{2} \, x^{2} + 330 \, x - \frac {27720 \, x^{5} + 9900 \, x^{4} + 3300 \, x^{3} + 825 \, x^{2} + 132 \, x + 10}{60 \, x^{6}} + 462 \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^7,x, algorithm="maxima")

[Out]

1/5*x^5 + 11/4*x^4 + 55/3*x^3 + 165/2*x^2 + 330*x - 1/60*(27720*x^5 + 9900*x^4 + 3300*x^3 + 825*x^2 + 132*x +
10)/x^6 + 462*log(x)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 58, normalized size = 0.81 \begin {gather*} 330\,x+462\,\ln \relax (x)-\frac {462\,x^5+165\,x^4+55\,x^3+\frac {55\,x^2}{4}+\frac {11\,x}{5}+\frac {1}{6}}{x^6}+\frac {165\,x^2}{2}+\frac {55\,x^3}{3}+\frac {11\,x^4}{4}+\frac {x^5}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((x + 1)*(2*x + x^2 + 1)^5)/x^7,x)

[Out]

330*x + 462*log(x) - ((11*x)/5 + (55*x^2)/4 + 55*x^3 + 165*x^4 + 462*x^5 + 1/6)/x^6 + (165*x^2)/2 + (55*x^3)/3
 + (11*x^4)/4 + x^5/5

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 65, normalized size = 0.90 \begin {gather*} \frac {x^{5}}{5} + \frac {11 x^{4}}{4} + \frac {55 x^{3}}{3} + \frac {165 x^{2}}{2} + 330 x + 462 \log {\relax (x )} + \frac {- 27720 x^{5} - 9900 x^{4} - 3300 x^{3} - 825 x^{2} - 132 x - 10}{60 x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x**2+2*x+1)**5/x**7,x)

[Out]

x**5/5 + 11*x**4/4 + 55*x**3/3 + 165*x**2/2 + 330*x + 462*log(x) + (-27720*x**5 - 9900*x**4 - 3300*x**3 - 825*
x**2 - 132*x - 10)/(60*x**6)

________________________________________________________________________________________